const fs = require('fs')
const util = require('util')

const readFile = util.promisify(fs.readFile)

async function read () {
	const logA = await readFile('./log/a.log', 'utf8')
	const logB = await readFile('./log/b.log', 'utf8')
	const logC = await readFile('./log/c.log', 'utf8')
	return [logA, logB, logC]
}

async function fn () {
	const arr = await read ()
	console.log(arr)
}

fn()